package com.chance.cc.crawler.prod.command.node.bilibili;

import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;
import com.chance.cc.crawler.prod.command.job.domain.news.bilibili.adhoc.BiLiBiLiSimpleCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.bilibili.realtime.BiliBiliRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.bilibili.trace.BiliBiliCommentTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.bilibili.trace.BiliBiliTraceCrawlerSchedulerJob;

/**
 * @author lt
 * @version 1.0
 * @date 2021-05-10 11:22:37
 * @email okprog@sina.com
 */
public class BiliBiliCrawlerNode {
    public static CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.210",9505);

    public static void main(String[] args) {
//        crawlerNodeCommand.killCrawler(BiliBiliRealtimeCrawlerSchedulerJob.crawlerScheduler());
//        crawlerNodeCommand.killCrawler(BiliBiliCommentTraceCrawlerSchedulerJob.crawlerScheduler());
//        crawlerNodeCommand.killCrawler(BiliBiliTraceCrawlerSchedulerJob.crawlerScheduler());
        crawlerNodeCommand.killCrawler(BiLiBiLiSimpleCrawlerSchedulerJob.crawlerScheduler());

        crawlerNodeCommand.nodeStatus();
    }
}
